<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<title>test jsp title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
</head>
<body>

  <form id="pagerForm" method="post" action="customer/addstudent.html">
	<!--  <input type="hidden" name="status" value="${param.status}"/>-->
	<input type="hidden" name="pageNum" value="${param.pageNum }" />

	<input type="hidden" name="customer_name" value="${param.customer_name}"/>
	<input type="hidden" name="class_no" value="${param.class_no}"/>
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>
 

<div class="pageHeader">
	  <form onsubmit="return navTabSearch(this);" action="customer/custom/searchbyname.html" method="post">
	<div class="searchBar">
		
		<table class="searchContent">
			<tr>
				<td>
					客户名称：<input type="text" name="customer_name" value="${param.customer_name}" class="required"/>
				</td>
				
				<td>
					入学班级：
					<select name="class_no">
					    <option value="">请选择班级</option>
					    <option value="${param.class_no}" style="color:red;" selected>${param.class_no}</option>
					    <c:forEach items="${class_1list }" var="class_1" varStatus="s">
					     <option value="${class_1.class_no }">${class_1.class_no }</option>
					    </c:forEach>
					</select>
					
				</td>
				
				
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索

</button></div></div></li>
				
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent" style="float:left;margin-left:0px;">
<div class="panelBar">
		<ul class="toolBar">
			
			<li class="line">line</li>
			
		</ul>
	</div>
	
	<form method="post" action="customer/stu/addstu.html" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>客户姓名：</label>
				<input name="stu_name" value="${customer.customer_name }" type="text" class="required" size="30"  readonly="readonly"/>
			</p>
			<p>
			   <label>学生编号：</label>
				<input name="stu_no"  type="text" size="30" class="required"/><a href="" target="dialog" rel="1" style="color:blue;">编号校验</a>
			</p>
			<p>
				<label>性别：</label>
				<input name="stu_sex" type="text" value="${customer.customer_sex }" class="required" size="30"  readonly="readonly"/>
			</p>
			<p>
				<label>工作情况：</label>
				<input name="job_status" type="text" value="${customer.job_status }" size="30" readonly="readonly"/>
			</p>
				
			<p>
				<label>毕业院校：</label>
				<input name="school"  type="text" value="${customer.school }" size="30" readonly="readonly"/>
			</p>
			
			<p>
				<label>生日：</label>
				<input type="text" name="customer_date" value="${customer.customer_date }" class="date" size="30" readonly="readonly"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
			   <label>招生类型：</label>
			      <select name="stu_status">
			         <option value=""> 请选择招生类型 </option>
			          <option value="社会招生">社会招生</option>
			          <option value="院校招生">院校招生</option>
			      </select>
			</p>
			  <input type="hidden" name="email" value="${customer.email}"/>
			   <input type="hidden" name="qq" value="${customer.qq}"/>
			    <input type="hidden" name="phone" value="${customer.phone}"/>
			<p>
			   <label>班级：</label>
				<input name="class_no" class="required" type="text" size="30" value="${param.class_no }" readonly="readonly" />
			</p>
			  <div class="formBar" style="float:left;margin-right:0px;margin-top:26%;width:100%">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">入学</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
			</div>
		</div>
		
		
	</form>
</div>
</body>
</html>